package com.bw.product.server.service.impl;

import com.bw.product.common.domain.Goods;
import com.bw.product.server.mapper.GoodsMapper;
import com.bw.product.server.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public List<Goods> selectGoods() {
        return goodsMapper.selectGoods();
    }
}
